package com.lanmaoly.cunzheng.enumDemo;

public enum Week {

	MONDAY("����һ"), TUESDAY("���ڶ�"), WEDNESDAY("������"), THURSDAY("������"), FRIDAY("������"), SATURDAY("������"), SUNDAY("������");// ��סҪ�÷ֺŽ���

	private String desc;// ��������

	/**
	 * ˽�й���,��ֹ���ⲿ����
	 * 
	 * @param desc
	 */
	private Week(String desc) {
		this.desc = desc;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public static void main(String[] args) {
		for (Week week : Week.values()) {
			System.out.println("name:" + week.name() + ",desc:" + week.getDesc());
		}
	}
	
}
